package com.trg.flex.remote
{
	public class ConnectionManager
	{
		public function ConnectionManager()
		{
		}
		
		public var id:String;
		[Bindable]
		public var connected:Boolean;
		[Bindable]
		public var authenticated:Boolean;
		[Bindable]
		public var authenticating:Boolean;
		
		public function authenticate():void {
			throw new Error("Abstract method 'authenticate()' must be implemented.");
		}
		
		public function ping(callback:Function):Boolean {
			return false;
		}

	}
}